def login(username, password):
    if not username:
        return "用户名不能为空"
    if not password:
        return "密码不能为空"
    if username == "rookie" and password == "123456":
        return "登陆成功"
    else:
        return "登录失败"